home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 2
/
AACD 2.iso
/
AACD
/
Magazine
/
GraphicsCards
/
StormMesa
/
mklib.openstep
< prev
next >
Wrap
Text File
|
1998-12-15
|
972b
|
40 lines
# Make a static OpenStep .a library file with libtool
#--identification------------------------------------------------------
# $Id: mklib.openstep,v 1.2 1998/06/01 00:47:59 brianp Exp $
# $Log: mklib.openstep,v $
# Revision 1.2 1998/06/01 00:47:59 brianp
# patched per Alexander Mai
#
# Revision 1.1 1998/03/24 00:42:58 brianp
# Initial revision
#
#--common--------------------------------------------------------------
# Usage: mklib libname major minor file.o ...
#
# First argument is name of output library (LIBRARY)
# Second arg is major version number (MAJOR)
# Third arg is minor version number (MINOR)
# Rest of arguments are object files (OBJECTS)
LIBRARY=$1
shift 1
MAJOR=$1
shift 1
MINOR=$1
shift 1
OBJECTS=$*
#--platform-------------------------------------------------------------
libtool -static -o $LIBRARY - $OBJECTS
####/bin/cc -dynamiclib -dynamic -compatibility_version 1 -current_version 1 -install_name $LIBRARY -o $LIBRARY $OBJECTS